import re
import os
from num2words import num2words

def is_digits_and_uppercase(s):
    # 正则表达式：^[A-Z0-9]+$ 表示字符串从头到尾只包含大写字母和数字
    pattern = r'^[A-Z0-9]+$'
    return bool(re.fullmatch(pattern, s))

def traversal_folder(folder_path):
    files = []
    for file_name in os.listdir(folder_path):
        file_path = os.path.join(folder_path, file_name)
        files.append(file_path)
    return files

def number_to_english(num):
    return num2words(num, lang='en').upper().replace('-', ' ')